package com.kai.service.data.request.article;

import com.kai.service.data.request.PagingRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class PagingArticleRequest extends PagingRequest {
    /**
     * 当前用户id
     */
    private Long userId;

    /**
     * 作者id
     */
    private Long authorId;

    /**
     * 用户专栏id
     */
    private Integer columnId;

    /**
     * 标题
     */
    private String title;

    /**
     * 类别标签
     */
    private String categoryLabel;

    /**
     * 文章状态 DRAFT-草稿，PUBLISHED-已发布
     */
    private String status;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;
}
